package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Collect;
import cn.wolfcode.trip.base.query.CollectQueryObject;

import java.util.List;

public interface CollectMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Collect record);

    Collect selectByPrimaryKey(Long id);

    List<Collect> selectAll();

    int updateByPrimaryKey(Collect record);

    List<Collect> queryForTravel(CollectQueryObject qo);

    List<Collect> queryForNews(CollectQueryObject qo);

    Collect selectById(CollectQueryObject qo);

    void delete(CollectQueryObject qo);

    void saveTravel(CollectQueryObject qo);
}